package com.jeecms.wicool.dao.lottery;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.lottery.Sn;

public interface SnDao {
	public Pagination getPage(String prizeName,Integer status,String sn,int pageNo, int pageSize,CmsUser user);

	public Sn findById(Integer id);

	public Sn save(Sn bean);

	public Sn updateByUpdater(Updater<Sn> updater);

	public Sn deleteById(Integer id);
	
	public List<Sn> getAll(CmsUser user);
	
	public List<Sn> getSnByLottery(Integer lotteryId);
}